package Entities 
{
	import flash.display.Bitmap;
	import flash.display.Sprite;
	import flash.events.Event;
	
	public class Owl extends Sprite
	{
		[Embed(source = "../Resources/Images/Entities/Buho.png")]
		private var owl:Class;
		
		public function Owl():void {
			addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event):void {
			removeEventListener(Event.ADDED_TO_STAGE, init);
			var owl_instance:Bitmap = new owl();
			addChild(owl_instance);
			owl_instance.scaleX = 0.6;
			owl_instance.scaleY = 0.6;
		}
	}

}